<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPHINXsys/src/shared/sphinxsys_system/sph_data_conainers.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_3dc1dabd28ba78e072d14d3fcfc90454.html">SPHINXsys</a></li><li class="navelem"><a class="el" href="dir_48ea983704c43b6d88c1fa3f4d09e369.html">src</a></li><li class="navelem"><a class="el" href="dir_0a0d9ef1793521534f0094f317758287.html">shared</a></li><li class="navelem"><a class="el" href="dir_a9c3ba9b250bbba97b908bc7d8bc1bbc.html">sphinxsys_system</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sph_data_conainers.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="sph__data__conainers_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;base_data_package.h&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_p_h.html">SPH</a> {</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="keyword">class </span>BaseMaterial;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <span class="keyword">class </span>SPHBody;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <span class="keyword">class </span>CellList;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <span class="keyword">class </span>BaseParticleData;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <span class="keyword">class </span>NeighborRelation;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#ad51fa139045aca30efc1ab82968a98a5">   24</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#ad51fa139045aca30efc1ab82968a98a5">MaterialVector</a> = <a class="code" href="class_std_vec_3_01_base_material_01_5_01_4.html">StdVec&lt;BaseMaterial*&gt;</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">   26</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">SPHBodyVector</a> = <a class="code" href="class_std_vec_3_01_s_p_h_body_01_5_01_4.html">StdVec&lt;SPHBody*&gt;</a>;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keyword">typedef</span> pair&lt;SPHBody*, SPHBodyVector&gt; SPHBodyContactMap;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#abae56fd7f25f13487c7943ce4681d0ce">   30</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#abae56fd7f25f13487c7943ce4681d0ce">IndexVector</a> = StdVec&lt;size_t&gt;;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#a77b4029300c8b4774935f1c5e8a3f15a">   32</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#a77b4029300c8b4774935f1c5e8a3f15a">CellVector</a> = StdVec&lt;Vecu&gt;;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#a1d45b2f40a5958c27e08837b107dc995">   35</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#a1d45b2f40a5958c27e08837b107dc995">ConcurrentIndexVector</a> = LargeVec&lt;size_t&gt;;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#aaa33d757bf8c057acf4883fd5be4a45d">   37</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#aaa33d757bf8c057acf4883fd5be4a45d">ConcurrentCellVector</a> = LargeVec&lt;Vecu&gt;;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#a396df948ec4d9c109be8f94e59358c9b">   39</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#a396df948ec4d9c109be8f94e59358c9b">ListData</a> = pair&lt;size_t, Vecd&gt;;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#a856451cbf2b050bbfc31b266ec4f7022">   41</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#a856451cbf2b050bbfc31b266ec4f7022">CellListDataVector</a> = StdLargeVec&lt;ListData&gt;;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">class</span> DataType&gt;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#adedcef5c2d6a5ee133747acd23880415">   44</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#adedcef5c2d6a5ee133747acd23880415">ConcurrentVector</a> = LargeVec&lt;DataType&gt;;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">   47</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">CellLists</a> = StdLargeVec&lt;CellList*&gt;;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#ac121764f4a4279d0a484f318400566f2">   49</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#ac121764f4a4279d0a484f318400566f2">ConcurrentCellLists</a> = LargeVec&lt;CellList*&gt;;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">   51</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SplitCellLists</a> = StdVec&lt;ConcurrentCellLists&gt;;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="namespace_s_p_h.html#aae0891ff7d5c75f9bf4333e5e0e0fe98">   53</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="namespace_s_p_h.html#aae0891ff7d5c75f9bf4333e5e0e0fe98">PositionsAndVolumes</a> = vector&lt;pair&lt;Point, Real&gt;&gt;;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;}</div><div class="ttc" id="namespace_s_p_h_html_ac592bbe202be73decfcbfe8201484ffa"><div class="ttname"><a href="namespace_s_p_h.html#ac592bbe202be73decfcbfe8201484ffa">SPH::SplitCellLists</a></div><div class="ttdeci">StdVec&lt; ConcurrentCellLists &gt; SplitCellLists</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:51</div></div>
<div class="ttc" id="namespace_s_p_h_html_ab8b3224d963eb73d7febbf0d5346f429"><div class="ttname"><a href="namespace_s_p_h.html#ab8b3224d963eb73d7febbf0d5346f429">SPH::SPHBodyVector</a></div><div class="ttdeci">StdVec&lt; SPHBody * &gt; SPHBodyVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:26</div></div>
<div class="ttc" id="namespace_s_p_h_html_abae56fd7f25f13487c7943ce4681d0ce"><div class="ttname"><a href="namespace_s_p_h.html#abae56fd7f25f13487c7943ce4681d0ce">SPH::IndexVector</a></div><div class="ttdeci">StdVec&lt; size_t &gt; IndexVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:30</div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div>
<div class="ttc" id="namespace_s_p_h_html_a1d45b2f40a5958c27e08837b107dc995"><div class="ttname"><a href="namespace_s_p_h.html#a1d45b2f40a5958c27e08837b107dc995">SPH::ConcurrentIndexVector</a></div><div class="ttdeci">LargeVec&lt; size_t &gt; ConcurrentIndexVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:35</div></div>
<div class="ttc" id="class_std_vec_3_01_base_material_01_5_01_4_html"><div class="ttname"><a href="class_std_vec_3_01_base_material_01_5_01_4.html">StdVec&lt; BaseMaterial * &gt;</a></div></div>
<div class="ttc" id="namespace_s_p_h_html_ad51fa139045aca30efc1ab82968a98a5"><div class="ttname"><a href="namespace_s_p_h.html#ad51fa139045aca30efc1ab82968a98a5">SPH::MaterialVector</a></div><div class="ttdeci">StdVec&lt; BaseMaterial * &gt; MaterialVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:24</div></div>
<div class="ttc" id="namespace_s_p_h_html_adedcef5c2d6a5ee133747acd23880415"><div class="ttname"><a href="namespace_s_p_h.html#adedcef5c2d6a5ee133747acd23880415">SPH::ConcurrentVector</a></div><div class="ttdeci">LargeVec&lt; DataType &gt; ConcurrentVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:44</div></div>
<div class="ttc" id="namespace_s_p_h_html_aae0891ff7d5c75f9bf4333e5e0e0fe98"><div class="ttname"><a href="namespace_s_p_h.html#aae0891ff7d5c75f9bf4333e5e0e0fe98">SPH::PositionsAndVolumes</a></div><div class="ttdeci">vector&lt; pair&lt; Point, Real &gt; &gt; PositionsAndVolumes</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:53</div></div>
<div class="ttc" id="class_std_vec_3_01_s_p_h_body_01_5_01_4_html"><div class="ttname"><a href="class_std_vec_3_01_s_p_h_body_01_5_01_4.html">StdVec&lt; SPHBody * &gt;</a></div></div>
<div class="ttc" id="namespace_s_p_h_html_a77b4029300c8b4774935f1c5e8a3f15a"><div class="ttname"><a href="namespace_s_p_h.html#a77b4029300c8b4774935f1c5e8a3f15a">SPH::CellVector</a></div><div class="ttdeci">StdVec&lt; Vecu &gt; CellVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:32</div></div>
<div class="ttc" id="namespace_s_p_h_html_ac121764f4a4279d0a484f318400566f2"><div class="ttname"><a href="namespace_s_p_h.html#ac121764f4a4279d0a484f318400566f2">SPH::ConcurrentCellLists</a></div><div class="ttdeci">LargeVec&lt; CellList * &gt; ConcurrentCellLists</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:49</div></div>
<div class="ttc" id="namespace_s_p_h_html_a54f9b375e654fcf04192f5a123495808"><div class="ttname"><a href="namespace_s_p_h.html#a54f9b375e654fcf04192f5a123495808">SPH::CellLists</a></div><div class="ttdeci">StdLargeVec&lt; CellList * &gt; CellLists</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:47</div></div>
<div class="ttc" id="namespace_s_p_h_html_a396df948ec4d9c109be8f94e59358c9b"><div class="ttname"><a href="namespace_s_p_h.html#a396df948ec4d9c109be8f94e59358c9b">SPH::ListData</a></div><div class="ttdeci">pair&lt; size_t, Vecd &gt; ListData</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:39</div></div>
<div class="ttc" id="namespace_s_p_h_html_a856451cbf2b050bbfc31b266ec4f7022"><div class="ttname"><a href="namespace_s_p_h.html#a856451cbf2b050bbfc31b266ec4f7022">SPH::CellListDataVector</a></div><div class="ttdeci">StdLargeVec&lt; ListData &gt; CellListDataVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:41</div></div>
<div class="ttc" id="namespace_s_p_h_html"><div class="ttname"><a href="namespace_s_p_h.html">SPH</a></div><div class="ttdef"><b>Definition:</b> base_body_supplementary.cpp:11</div></div>
<div class="ttc" id="namespace_s_p_h_html_aaa33d757bf8c057acf4883fd5be4a45d"><div class="ttname"><a href="namespace_s_p_h.html#aaa33d757bf8c057acf4883fd5be4a45d">SPH::ConcurrentCellVector</a></div><div class="ttdeci">LargeVec&lt; Vecu &gt; ConcurrentCellVector</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:37</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
